searchentry: Minor docs tweaks
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2021 15:08:08 +0000 (10:08 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:33 +0000 (16:37 +0000)
gtk/gtksearchentry.c

index 35065424e1b49cbc81c9e3ae744d57c2e3818175..92d82dcf5e21fab5965a52d7037d540b84a5d3d4 100644 (file)
@@ -74,6 +74,9 @@
  * you can use [method@Gtk.SearchEntry.set_key_capture_widget] to
  * let it capture key input from another widget.
  *
+ * `GtkSearchEntry` provides only minimal API and should be used with
+ * the [iface@Gtk.Editable] API.
+ *
  * ## CSS Nodes
  *
  * |[<!-- language="plain" -->
@@ -674,7 +677,8 @@ capture_widget_key_handled (GtkEventControllerKey *controller,
  * @entry: a `GtkSearchEntry`
  * @widget: (nullable) (transfer none): a #GtkWidget
  *
- * Sets @widget as the widget that @entry will capture key events from.
+ * Sets @widget as the widget that @entry will capture key
+ * events from.
  *
  * Key events are consumed by the search entry to start or
  * continue a search.